use "${data}/Global_Des", clear
 

*Correlation between % Informal employment and GDP 
global y = "inf_emp"
global ylab = "Percent Informal Employment"
global x = "lny"
global xlab = "Real GDP per-capita in 2010 USD"
twoway 	(lpolyci $y $x if !missing($y), lcolor(black) lwidth(medthick) ciplot(rline) blwidth(medthick) blpattern(dash) blcolor(gs10)) ///
		(scatter $y $x  if ccode!="IND" & !missing($y), sort msize(tiny) mlabel(ccode) mlabsize(vsmall)) ///
		(scatter $y $x if ccode == "IND", sort mlabel(ccode) mcolor(red) msymbol(lgx)) ///
		, legend(off) xtitle("$xlab") ytitle("$ylab") 
graph export "${output}/global/FigureA1_a.png", height(600) width(800) replace


*Index of Enforcement
global y = "index_enf"
global ylab = "Index of Labor Protection Enforcement"
global x = "lny"
global xlab = "Real GDP per-capita in 2010 USD"
twoway 	(lpolyci $y $x, lcolor(black) lwidth(medthick) ciplot(rline) blwidth(medthick) blpattern(dash) blcolor(gs10)) ///
		(scatter $y $x if ccode != "IND", sort msize(tiny) mlabel(ccode) mlabsize(vsmall)) ///
		(scatter $y $x if ccode == "IND", sort mlabel(ccode) mcolor(red) msymbol(lgx)) ///
		, legend(off) xtitle("$xlab") ytitle("$ylab") xlabel(6(1)12)
graph export "${output}/global/FigureA1_b.png", height(600) width(800) replace

